package com.etlmaster.executor.steps.datax;

import com.etlmaster.executor.StepMeta;

/**
 * @author Larry
 * @copyright Larry@etlMaster
 * @since 2017-09-10
 */
public class VfsWriterStepMeta extends StepMeta {
	private String pluginName="vfswriter";
	private String ftpSite;
	private String dir;
	private String field_split;
	private String prefix_filename;
	private String file_type;
	private String encoding;
	private String filePart;
	


	public VfsWriterStepMeta(String id, String name,String step_code, String session_id, String paramStr) {
		super(id, name,step_code, session_id, paramStr);
	}

	@Override
	protected void loadParamsFromConfigTable() {
		// TODO Auto-generated method stub

	}

	public String getPluginName() {
		return pluginName;
	}

	public void setPluginName(String pluginName) {
		this.pluginName = pluginName;
	}

	public String getDir() {
		return this.variableSubstitution(dir);
	}

	public void setDir(String dir) {
		this.dir = dir;
	}

	public String getField_split() {
		return variableSubstitution(field_split);
	}

	public void setField_split(String field_split) {
		this.field_split = field_split;
	}

	public String getPrefix_filename() {
		return this.variableSubstitution(prefix_filename);
	}

	public void setPrefix_filename(String prefix_filename) {
		this.prefix_filename = prefix_filename;
	}

	public String getFile_type() {
		return file_type;
	}

	public void setFile_type(String file_type) {
		this.file_type = file_type;
	}

	public String getEncoding() {
		return encoding;
	}

	public void setEncoding(String encoding) {
		this.encoding = encoding;
	}

	public String getFilePart() {
		return filePart==null?"1":filePart;
	}

	public void setFilePart(String filePart) {
		this.filePart = filePart;
	}

	public String getFtpSite() {
		return this.variableSubstitution(ftpSite);
	}

	public void setFtpSite(String ftpSite) {
		this.ftpSite = ftpSite;
	}


}
